package cn.com.cifi.mars.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 监控预警门户提醒关系表（关联 t_portal_todo，记录基于维度预警发出的门户待办提醒）
 * </p>
 *
 * @author plx
 * @since 2020-03-17
 */
@TableName("t_monitor_warning_portal")
public class MonitorWarningPortal implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 预警指标明细id
     */
    private String warningPortalId;

    /**
     * 门户待办id
     */
    private String instanceId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getWarningPortalId() {
        return warningPortalId;
    }

    public void setWarningPortalId(String warningPortalId) {
        this.warningPortalId = warningPortalId;
    }
    public String getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "TMonitorWarningPortal{" +
        "id=" + id +
        ", warningPortalId=" + warningPortalId +
        ", instanceId=" + instanceId +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
